package org.jeecg.modules.parameter.api.entity.assistance;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * @author P
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName(value = "sim_assistance", schema = "simulator")
@ApiModel(value = "sim_assistance", description = "参数-线路-辅助设施")
public class SimAssistance implements Serializable {
    @ApiModelProperty(value = "UUID，主键，唯一标识")
    @TableId(type = IdType.ASSIGN_UUID, value = "id")
    private String id;

    @ApiModelProperty(value = "辅助设施id")
    @TableField(value = "ass_id")
    private String assId;

    @ApiModelProperty(value = "所属线路id（uuid）")
    @TableField(value = "main_line_id")
    private String mainLineId;

    @ApiModelProperty(value = "类型（折返线 ZF，存车线 CC）")
    @TableField(value = "line_type")
    private String lineType;

    @ApiModelProperty(value = "存车数量")
    @TableField(value = "car_count")
    private Integer carCount;

    @ApiModelProperty(value = "通行时间")
    @TableField(value = "pass_time")
    private String passTime;

    @ApiModelProperty(value = "运营状态，运营01(默认) ，停运02，限流03")
    @TableField(value = "is_operating")
    private String isOperating;

    @ApiModelProperty(value = "线网图路径信息")
    @TableField(value = "line_net_position")
    private String lineNetPosition;

}